home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Amiga Amateur Radio User Group / AARUG UK #81 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].zip / AARUG UK #81 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].adf / DisView / PS < prev    next >
Text File  |  1995-05-17  |  4KB  |  75 lines

  1. ==                                                  DISview [518]
  2. ps
  3. ==
  4.  
  5. _________________________________________________________________
  6. ps
  7. _________________________________________________________________
  8. Display all current processes in the system. The fields are as
  9. follows:
  10.  
  11. PID:     Process ID (the address of the process descriptor).
  12.  
  13. SP:      The current value of the process stack pointer.
  14.  
  15. stksize: The size of the stack allocated to the process.
  16.  
  17. maxstk:  The apparent peak stack utilization of this process.
  18. This is done in a somewhat heuristic fashion, so the  numbers
  19. should be treated as approximate.  If this number reaches or
  20. exceeds the stksize figure, the system is almost certain to
  21. crash; NET program should be recompiled to give the process a
  22. larger allocation when it is started.
  23.  
  24. event:   The event this task is waiting for, if it is not
  25. runnable.
  26.  
  27. fl:      Process status flags. There are three: I (Interrupts
  28. enabled), W (Waiting for event) and S (suspended).
  29.  
  30. The I flag is set whenever a task has executed a pwait() call
  31. (wait for event) without first disabling hardware interrupts.
  32. Only tasks that  wait for hardware interrupt events will turn off
  33. this flag; this is done to avoid critical sections and missed
  34. interrupts.
  35.  
  36. The W flag indicates that the process is waiting for an event;
  37. the event column will be non-blank.  Note that although there may
  38. be several runnable processes at any time (shown in the 'ps'
  39. listing as those without the W flag and with blank event fields)
  40. only one process is actually running at any one instant (The
  41. Refrigerator Light Effect says that the 'ps' command is always
  42. the one running when this display is generated.)
  43.  
  44. in and out:  The socket reference numbers.  Use the 'socket'
  45. command to obtain more detailed information.
  46.  
  47.  
  48. >> An example of 'ps' display:
  49. .................................................................
  50. :                                                               :
  51. :Uptime 0:00:01:15 Stack 778a max intstk 55                     :
  52. :                                                               :
  53. :PID      SP       stk  max event    fl in  out name            :
  54. :                 size  stk                                     :
  55. :81580008 813401ba 256  122 79fa012a IW 128 129 Telnet listener :
  56. :80ea0008 821201bc 256  121 79fa01d8 IW 128 129 Finger listener :
  57. :80f80008 81f001bc 256  121 79fa019e IW 128 129 SMTP listener   :
  58. :7cc60008 7cd101ca 256  153 67fef0ca  W 128 129 keyboard        :
  59. :7ae80008 7b3603dc 512  36  67fee878 IW 128 129 killer          :
  60. :82a80008 82b201ba 256  139 79fa024c IW 128 129 TTYlink listener:
  61. :7b120008 7d9301d4 256  40  67fef2b8 IW 128 129 sl0 tx          :
  62. :7b1e0008 7db501c8 256  46  67fef296  W 128 129 sl0 rx          :
  63. :82380008 82420522 768  129 79fa0212 IW 128 129 Remote listener :
  64. :7cf50008 85860e6e 2048 316 79fa03e2 IW 145 145 mbox            :
  65. :81880008 816401bc 256  121 79fa00f0 IW 128 129 Discard listener:
  66. :83740008 833002da 512  197 79fa02c0 IW 140 141 more            :
  67. :81b20008 819001bc 256  121 79fa00b6 IW 128 129 Echo listener   :
  68. :81280008 810401bc 256  138 79fa0164 IW 128 129 FTP listener    :
  69. :84e50008 8925073c 1024 116 79fa0334 IW 142 143 tel_out         :
  70. :7bfa0008 7c040bd8 1536 329 67fee030  W 128 129 network         :
  71. :7ae00008 7b7807d6 1024 123          I  128 129 timer           :
  72. :79dc0008 7abd0144 250  130          I  128 129 display         :
  73. :79f20008 778a1f12 0    0            I  128 129 cmdintrp        :
  74. :...............................................................:
  75.